﻿using System.Text;
using System.Xml.Linq;

namespace ConsoleApp2
{
    public class Comment
    {
        public long Id { get; set; }
        public long ArticleId { get; set; }
        public Article Article { get; set; }
        public string Message { get; set; }


        public override string ToString()
        {
            return $"{Id}, Message={Message}, ArticleId={ArticleId}, aTitle={Article.Title}, aContent={Article.Content}";
        }
    }
}